//
//  CTMediator+ViewAction.h
//  at_xiaoge_client
//
//  Created by Linyu Niu on 15/03/2018.
//  Copyright © 2018 Linyu Niu. All rights reserved.
//

#import <CTMediator/CTMediator.h>

@interface CTMediator(ViewAction)




/**
 创建导航条的头view

 @param view 需要在哪个view上显示
 @param dic dic
 title-导航名称
 leftTitle-左边按钮名字
 leftBtnImage-左边按钮图片
 rightBtnImage-左边按钮图片
 rightTitle-右边按钮名字
 
 @param leftAction 左边按钮的事件
 @param rightAction 右边按钮的事件
 @return view
 */
-(UIView *)navgationHeadViewInTargetView:(UIView *)view params:(NSDictionary *)dic leftAction:(void(^)(UIButton * sender))leftAction rightAction:(void(^)(UIButton * sender))rightAction;

-(UIButton *)commonOrangeButton:(CGRect)frame title:(NSString *)title delegate:(id)delegate action:(SEL)action;
-(void)showBankTypePicker:(UIView *)view delegate:(id<UIPickerViewDataSource,UIPickerViewDelegate>)delegate block:(void(^)(void))block;
@end

